import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'governmentCentre-control',
  templateUrl: './governmentCentre-control.component.html',
  styleUrls: ['./governmentCentre-control.component.scss'],
})
export class GovernmentCentreControlComponent implements OnInit {

  // 行政中心总控
  department: any = 'ECC006'; // 部门枚举

  config: any = [
    {
      title: '需签合同人员',
      api: 'crm.customerControl.needContract',
      drawer: {
        'title': '需签合同人员详情',
        'action': 'drawer',
        'formId': 'hr.needContractItem',
        'width': '60vw',
      },
    },
    {
      title: '续签合同提醒',
      api: 'crm.customerControl.renewContract',
      drawer: {
        'title': '续签合同人员详情',
        'action': 'drawer',
        'formId': 'hr.renewContractItem',
        'width': '60vw',
      },
    },
  ];

  constructor() {

  }

  ngOnInit() {

  }

}

